<include file="__THEME__/header" />
<link href="../Public/css/Mess.css" rel="stylesheet" type="text/css" />
<link href="../Public/css/space.css" rel="stylesheet" type="text/css" />
<div class="contents lbg B"> <include file="../Public/home_left" />
  <div class="contents_min w787">
  <h3 class="tit_h3">{:L('msg_center')}</h3>
    <div class="write_info">
      <div class="tab">
        <!-- 切换标签 begin  -->
        <ul>
           <li>
            <span><a href="{:U('home/Message/index','type=notify')}">{:L('notify')}</a></span>
          </li>
          <li   class="on">
            <span><a href="{:U('home/Message/index','type=inceptbox')}">{:L('inbox')}</a></span>
          </li>
          <li>
            <span><a href="{:U('home/Message/index','type=sendbox')}">{:L('outbox')}</a></span>
          </li>
          <li>
            <span><a href="{:U('home/Message/index','type=send')}">{:L('msg_write')}</a></span>
          </li>
        </ul>
      </div>
      <div class="mt20">
        <div style="width: 787px;" class="MList">
          <!-- 好友日志 begin  -->
          <ul>
            <li>
              <div style="width: 8%;" class="L"> <span class="headpic50"> 
              	<a href="{:U('space/View/','uid='.$msg['fromUserId'])}"><img src="{$msg.fromUserId|getUserFace}" /></a> </span> </div>
              <div style="width: 20%; line-height:140%;" class="L"> <a href="{:U('space/View/','uid='.$msg['fromUserId'])}">{$msg.fromUserId|getUserName}</a><br>
                <em class="cl06">{$msg.cTime|friendlyDate="full"}</em> </div>
              <div style="width: 70%;" class="L">
                <h3 class="f14"><strong>{$msg.subject}</strong></h3>
                <p class="lineB lh35 f14"> </p>
                <div style="width: 77%; padding: 10px 0px 50px;" class="lineB_D L">{$msg.content} </div>
              </div>
            </li>
            
            <volist name="r_msgs" id="r_msg">
            <li id="571">
              <div style="width: 8%;" class="L"> <span class="headpic50"><a href="{:U('space/View/','uid='.$r_msg['fromUserId'])}"><img src="{$r_msg.fromUserId|getUserFace}" alt="{:L('username')}" /></a> </span> </div>
              <div style="width: 20%; line-height:140%;" class="L"> <a href="{:U('space/View/','uid='.$r_msg['fromUserId'])}">{$r_msg.fromUserId|getUserName}</a><br>
                <em class="cl06">{$r_msg.cTime|friendlyDate="full"}</em> </div>
              <div style="width: 70%; padding: 10px 0px 50px;" class="lineB_D L"> {$r_msg.content} </div>
            </li>
             </volist>
             
            <li id="reply">
              <div style="width: 28%;" class="L">&nbsp;</div>
              <div style="width: 70%;" class="L">
                <form method="post" action="__URL__&act=doreply">
                                <input type="hidden" name="replyMsgId" value="{$msg.id}">
                                <input type="hidden" name="subject" value="{$msg.subject}">
                                <input type="hidden" name="type" value="{.t}">
                  <strong>{:L('reply')}:</strong><br>
                  <textarea name="content"  class="in_put" style="width: 95%;" rows="5" cols=""></textarea>
                  <input type="submit" value="发送" id="button" style="margin-top: 10px;" class="btn_sea">
                </form>
              </div>
            </li>
          </ul>
        </div>
        <!-- 好友日志 end  -->
      </div>
    </div>
  </div>
  <div class="C"></div>
</div>
<include file="__THEME__/footer" /> 